docs: Add gtk-doc notation
authorJavier Jardón <jjardon@gnome.org>
Fri, 22 Oct 2010 15:56:00 +0000 (17:56 +0200)
committerJavier Jardón <jjardon@gnome.org>
Fri, 22 Oct 2010 15:59:38 +0000 (17:59 +0200)
to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code

docs/reference/gtk/tmpl/gtkmisc.sgml
gtk/gtkalignment.c

index 57ab5c70904e51347dcffab11de3d247af7d0c15..c9016e2b0fc4775f0bfc576cddd2d5cd5e50d657 100644 (file)
@@ -19,11 +19,13 @@ positioned within its allocated area. Note that if the widget is added to
 a container in such a way that it expands automatically to fill its
 allocated area, the alignment settings will not alter the widgets position.
 </para>
+<note>
 <para>
 Note that the desired effect can in most cases be achieved by using the
 #GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
 on the child widget, so GtkMisc should not be used in new code.
 </para>
+</note>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
index b3e0b85c79a4940e3ef3546003a7233345e8cb00..d8b3fec5704210d48d84d416e3f741d0bb416887 100644 (file)
  * Of course, if the scale settings are both set to 1, the alignment settings
  * have no effect.
  *
+ * <note>
+ * <para>
  * Note that the desired effect can in most cases be achieved by using the
  * #GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
  * on the child widget, so #GtkAlignment should not be used in new code.
+ * </para>
+ * </note>
  */
 
 #include "config.h"